package cn.yunhe.java.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("error")
public class ErrorController {

    /**
     * 未授权页面显示信息
     * @return
     */
    @RequestMapping("unAuthorized")
    public String unAuthorized(){
        return "error/unAuth";
    }
}
